﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OfficeEdit.ascx.cs" Inherits="Controls_AdminControls_OfficeEdit" %>
<table class="popup_content">
    <tr>
        <td class="label">Офіс
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtName" runat="server" SkinID="Required" MaxLength="256">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Вкажіть назву офісу"/>
                </ValidationSettings>
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td class="label">Область
        </td>
        <td class="edit">
            <dx:ASPxComboBox ID="ddlRegion" runat="server" SkinID="Required">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Оберіть область"/>
                </ValidationSettings>
            </dx:ASPxComboBox>
        </td>
    </tr>
    <tr>
        <td class="label">Місто
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtCity" runat="server" SkinID="Required" MaxLength="256">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Вкажіть місто"/>
                </ValidationSettings>
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td class="label">Адреса
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtAddress1" runat="server" SkinID="Required" MaxLength="512">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Вкажіть адресу офісу"/>
                </ValidationSettings>
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td></td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtAddress2" runat="server" MaxLength="512"/>
        </td>
    </tr>
    <tr>
        <td class="label">Телефон 1
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtPhone1" runat="server" MaxLength="36"/>
        </td>
    </tr>
    <tr>
        <td class="label">Телефон 2
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtPhone2" runat="server" MaxLength="36"/>
        </td>
    </tr>
    <tr>
        <td class="label">Телефон 3
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtPhone3" runat="server" MaxLength="36"/>
        </td>
    </tr>
    <tr>
        <td class="label">Телефон 4
        </td>
        <td class="edit">
            <dx:ASPxTextBox ID="txtPhone4" runat="server" MaxLength="36"/>
        </td>
    </tr>
    <tr>
        <td class="label">Головний блок
        </td>
        <td class="edit">
            <dx:ASPxComboBox ID="ddlDisplayOption" runat="server" SkinID="Required">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Оберіть тип відображення"/>
                </ValidationSettings>
            </dx:ASPxComboBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <div class="button">
                <dx:ASPxButton ID="btnCancel" runat="server" Text="Закрити" SkinID="Red" />
            </div>
            <div class="button">
                <dx:ASPxButton ID="btnOk" runat="server" Text="Зберегти" SkinID="Blue" />
            </div>
        </td>
    </tr>
</table>
<dx:ASPxCallback ID="clbkSave" runat="server" />
